let { config } = require('../../common/utils/ws/ws-config.js');

let international = {
  default: {
    goods_buy_now: '立即购买',
    pay_now: '去付款',
    isPlatShow: false,
    isPosterTitleShow: false,
  },
  development: {
    1111: {
      isPlatShow: true,
    }
  },
  testing: {
    1111: {
      goods_buy_now: '立即预约',
      pay_now: '去预约',
      isPosterTitleShow: true,
    }
  },
  product: {
    36727: {
      isPlatShow: true,
    }
  },
  getOrderStatus: function (id) {
    let _platform = 'default';
    if (config.platform_env) _platform = config.platform_env;
    if (this[_platform] && this[_platform][config.uniacid] && this[_platform][config.uniacid][id]) {
      return this[_platform][config.uniacid][id]
    } else {
      return this['default'][id]
    }
  }
}


module.exports = international;
